package se.webbzon.boltzmann.editor.component.sequence.panel.factory;

import se.webbzon.boltzmann.editor.component.sequence.panel.AbstractRowPanel;
import se.webbzon.boltzmann.editor.component.sequence.panel.AssignmentRowPanel;
import se.webbzon.boltzmann.game.sequence.builder.AbstractSequenceRow;
import se.webbzon.boltzmann.game.sequence.builder.assignment.AssignmentRow;

public class AssignmentRowPanelFactory extends AbstractRowPanelFactory {

	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new assignment row panel factory. **/
	public AssignmentRowPanelFactory() {
		super(AssignmentRow.name);
	}
	
	/*============================================================
	Public Methods
	============================================================*/

	@Override public AbstractRowPanel makeNew(AbstractSequenceRow body) {
		return new AssignmentRowPanel((AssignmentRow) body);
	}

}
